<extend name="Layout/application"/>

<block name="content">
    <div class="row">
        <div class="col-md-12">

            <div class="row">
                <div class="col-md-8">
                    <div class="page-header">
                        <h1>密码修改</h1>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-10">
                    <div class="panel panel-default">
                        <div class="panel-heading">系统信息</div>

                        <div class="panel-body">
                            <form class="form-horizontal" role="form" method="post" action="{{:U('do_change')}}">
                                <div class="form-group">
                                    <label for="email" class="col-sm-2 control-label">电子邮件</label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form-control" id="email" value="{{$user.email}}"
                                               disabled>
                                    </div>
                                </div>
                                <input type="hidden" name="id" value="${{user.id}}">
                                <div class="form-group">
                                    <label for="password" class="col-sm-2 control-label">原始密码</label>
                                    <div class="col-sm-10">

                                        <input type="password" class="form-control" name="oldpassword" id="oldpassword"
                                               placeholder="请输入密码">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="password" class="col-sm-2 control-label">新设密码</label>
                                    <div class="col-sm-10">
                                        <input type="password" class="form-control" name="password" id="password"
                                               placeholder="请输入密码">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="password" class="col-sm-2 control-label">密码确认</label>
                                    <div class="col-sm-10">
                                        <input type="password" class="form-control" name="password2" id="password2"
                                               placeholder="请再次输入密码">
                                    </div>
                                </div>


                                <div class="form-group">
                                    <div class="col-sm-offset-2 col-sm-10">
                                        <button type="submit" class="btn btn-info">确认修改</button>
                                    </div>
                                </div>
                            </form>


                        </div>
                    </div>
                </div>


            </div>
        </div>
    </div>

</block>


























